libxl: Convert to asynchronous: device removal
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:26 +0000 (17:01 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:26 +0000 (17:01 +0000)
commit43e5afa7c827eb1ccf1c6ebae9b4f5e0c5cc468b
tree7e87f99a5cd0c5c7c2632b4f2682db3c071f26ac
parenta057e090a1bc8090e347d4918cc516d082b6ed3f
libxl: Convert to asynchronous: device removal

Convert libxl_FOO_device_remove, and the function which does the bulk
of the work, libxl__device_remove, to the new async ops scheme.

Adjust all callers.

Also remove libxl__wait_for_device_state which is now obsolete.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/libxl_device.c
tools/libxl/libxl_internal.h
tools/libxl/xl_cmdimpl.c
tools/ocaml/libs/xl/xenlight_stubs.c